<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title><!--    主页css-->
    <link rel="stylesheet" href="../../static/css/backstage_index.css">
    <link rel="stylesheet" href="../../static/css/backstage_user.css">
    <link rel="shortcut icon" type="image/x-icon" th:href= "@{/static/img/timg.jpg}">
    <link rel="stylesheet" href="../../static/css/merchandise.css">
    <link rel="stylesheet" href="../../static/css/bootstrap.min.css">
    <!--    boot-->
</head>
<body>
<div th:include="/like/business_content::seam">
</div>
    <!--    主页面-->
<div class="home_page">
        <div id="container_user">
            <div class="tab_manager_title">
                <!--                用户-->
                <!--               顶部搜索-->
                <form action="/administrator/selectUserLikeDate" method="get">
                    <div class="me_search">
                        <input name="date" type="text" class="me_input" placeholder="请输入查找信息" th:value="${selectUser}">
                    </div>
                    <div class="btn_search">
                        <input type="submit" value="搜索">
                    </div>
                </form>


                <div style="clear: both"></div>
                <!--            模态框-->
                <!-- 按钮触发模态框 -->
                <div class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal" id="add">
                    添加信息
                </div>
                <!-- 模态框（Modal） -->
                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"
                                        aria-hidden="true">×
                                </button>
                            </div>
                            <div class="modal-body">
                                <!-- 添加用户信息表格-->
                                <div class="number">
                                    <p>用户账号</p>
                                    <input type="text" class="ger" id="user_number">
                                    <span></span>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default"
                                        data-dismiss="modal">关闭
                                </button>
                                <button type="button" class="btn btn-primary" id="submit">
                                    提交
                                </button>
                            </div>
                        </div><!-- /.modal-content -->
                    </div><!-- /.modal-dialog -->
                </div><!-- /.modal -->
                <!--            用户表格-->
                <div class="container" style="margin-top: 25px">
                    <table class="table table-hover" id="employeeTable">
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>用户账号</th>
                            <th>用户权限</th>
                            <th>积分剩余</th>
                            <th>删除列</th>
                        </tr>
                        </thead>
                        <tbody th:if="${user.getList()!=null}">
                        <tr th:each="userDate:${user.getList()}">
                            <td th:text="${userDate.userId}"></td>
                            <td th:text="${userDate.userName}"></td>
                            <td th:text="${userDate.power}"></td>
                            <td th:text="${userDate.integral}"></td>
                            <td><a class="delete" th:data-id="${userDate.userId}">删除</a></td>
                        </tr>
                        </tbody>
                    </table>


                </div>
            </div>

        </div>
        <div class="page">
            <ul>
                <li th:if="${selectGoods!=null&&goods.getNavigatepageNums().length!=1}" th:each="datePage:${goods.getNavigatepageNums()}" ><a th:href="@{'http://localhost:8080/administrator/selectGoodsLikeDate?page='+${datePage}+'&date='+${selectGoods}}" th:text="${datePage}"></a></li>
                <li th:if="${selectGoods==null&&goods.getNavigatepageNums().length!=1}" th:each="datePage:${goods.getNavigatepageNums()}" ><a th:href="@{'http://localhost:8080/administrator/backstageCommodityJump?page='+${datePage}}" th:text="${datePage}"></a></li>
            </ul>
        </div>
    </div>
</body>
<script src="../../static/js/jquery-3.3.1.min.js"></script>
<script src="../../static/js/bootstrap.min.js"></script>
<script src="../../static/js/backstage_point.js"></script>

</html>